---
title: AgentMail
description: Email for agents
icon: email
---

[AgentMail](https://agentmail.to) is an API-first email provider designed to give agents their own inboxes for sending, receiving, and managing email.

## Tools

- List inboxes
- Get inbox
- Create inbox
- List threads
- Get thread
- List messages
- Get message
- Get attachment
- Send message
- Reply to message

## Installation

Add the AgentMail tool to your project

```sh
agentstack tools add agentmail
```

Get your [AgentMail API key](https://agentmail.to) and set the environment variable

```env
AGENTMAIL_API_KEY=your-agentmail-api-key
```

## Usage

Use the AgentMail API to create an inbox for your agent. Then prompt your agent to handle any email related tasks.

## Examples

Coming soon...
